package com.jingyanzi.finance.domain;

import java.util.ArrayList;
import java.util.List;

import com.google.gson.Gson;

public class GetJson {

	public static void main(String[] args) {
		Gson gson = new Gson();
		/*CustomerDO customerDO = new CustomerDO();
		List<CustomerDO> list = new ArrayList<CustomerDO>();
		list.add(customerDO);
		list.add(customerDO);
        String json = gson.toJson(list);
        System.out.println(json);*/
		
		List<CashCashierDO> list = new ArrayList<CashCashierDO>();
		list.add(new CashCashierDO());
		
		String json = gson.toJson(list);
		System.out.println(json);
		
		
	}

}
